﻿using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IService
{
    public interface ICJurisdictionService
    {
        /// <summary>
        /// 获取页面
        /// </summary>
        /// <param name="rolesID"></param>
        /// <returns></returns>
        Task<List<CJurisdiction>> GetMainMenu(int rolesID);

        /// <summary>
        /// 创建页面
        /// </summary>
        /// <param name="quans"></param>
        /// <param name="groupID"></param>
        /// <returns></returns>
        Task<List<CJurisdiction>> CreateMainMenu(List<Jurisdiction> quans, int groupID);

        /// <summary>
        /// 获取登录用户的RolesID
        /// </summary>
        /// <param name="uid"></param>
        /// <returns></returns>
        Task<int> GetRolesIDByUsersID(int uid);
    }
}
